package com.hongyan.config;

import com.hongyan.main.SwingMainFrame;
import com.hongyan.util.SnowflakeUtils;

public class MainFrameConfig {
    public static SwingMainFrame getSwingMainFrame() {
        return swingMainFrame;
    }


    public static String getId() {
        return id;
    }

    public static void setId(String id) {
        MainFrameConfig.id = id;
    }

    public static String id;

    public static void setSnowflakeUtils(SnowflakeUtils snowflakeUtils) {
        MainFrameConfig.snowflakeUtils = snowflakeUtils;
    }

    private static SnowflakeUtils snowflakeUtils ;

    public static void setSwingMainFrame(SwingMainFrame swingMainFrame) {
        MainFrameConfig.swingMainFrame = swingMainFrame;
    }

    private static SwingMainFrame swingMainFrame;

    public static SnowflakeUtils getSnowflakeUtils() {
        return snowflakeUtils;
    }
}
